<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="tag" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/resources/css/form.css"
	type="text/css" />
</head>
<body>
	<div class="form">
		<form:form commandName="manager">
			<ol>
				<table border="0">
					<tr>
						<td><form:label path="username">
								<tag:message code="manager.username" />
							</form:label></td>
						<td><form:input path="username" /> <form:errors
								path="username" /></td>
					</tr>
					<tr>
						<td><form:label path="name">
								<tag:message code="manager.name" />
							</form:label></td>
						<td><form:input path="name" /> <form:errors path="name" />
						</td>
					</tr>
					<tr>
						<td><form:label path="surname">
								<tag:message code="manager.surname" />
							</form:label></td>
						<td><form:input path="surname" /> <form:errors
								path="surname" /></td>
					</tr>
					<tr>
						<td><form:label path="emailAdress">
								<tag:message code="manager.emailAdress" />
							</form:label></td>
						<td><form:input path="emailAdress" /> <form:errors
								path="emailAdress" /></td>
					</tr>
					<tr>
						<td><form:label path="numberOfFreeDays">
								<tag:message code="manager.numberOfFreeDays" />
							</form:label></td>
						<td><form:input path="numberOfFreeDays" /> <form:errors
								path="numberOfFreeDays" /></td>
					</tr>
					<tr>
						<td><form:label path="telephoneNumber">
								<tag:message code="manager.telephoneNumber" />
							</form:label></td>
						<td><form:input path="telephoneNumber" /> <form:errors
								path="telephoneNumber" /></td>
					</tr>
					<tr>
						<td><form:label path="password">
								<tag:message code="manager.password" />
							</form:label></td>
						<td><form:password path="password" /> <form:errors
								path="password" /></td>
					</tr>
					<tr>
						<td><form:label path="repeatedPassword">
								<tag:message code="manager.repeatedPassword" />
							</form:label></td>
						<td><form:password path="repeatedPassword" /> <form:errors
								path="repeatedPassword" /></td>
					</tr>
					<tr>
						<td></td>
						<td><input type="submit" class="submit" /></td>
					</tr>
				</table>
			</ol>
		</form:form>
	</div>
</body>
</html>